/*
package com.anyou.mall.goo.parameter.controller;

import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.anyou.common.annotation.Log;
import com.anyou.common.core.controller.BaseController;
import com.anyou.common.core.domain.ApiResult;
import com.anyou.common.enums.BusinessType;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import com.anyou.mall.goo.parameter.domain.GooGoodsParameter;
import com.anyou.mall.goo.parameter.service.IGooGoodsParameterService;
import com.anyou.common.utils.poi.ExcelUtil;
import com.anyou.common.core.page.TableDataInfo;

*/
/**
 * 商品参数Controller
 *
 * @author ylj
 * @date 2022-03-29
 *//*

@Api(tags = "商品参数")
@RestController
@RequestMapping("/parameter/parameter")
public class GooGoodsParameterController extends BaseController
{
    @Autowired
    private IGooGoodsParameterService gooGoodsParameterService;

    */
/**
     * 查询商品参数列表
     *//*

    @ApiOperation("查询商品参数列表")
    @PreAuthorize("@ss.hasPermi('parameter:parameter:list')")
    @GetMapping("/list")
    public TableDataInfo<List<GooGoodsParameter>> list(GooGoodsParameter gooGoodsParameter)
    {
        startPage();
        List<GooGoodsParameter> list = gooGoodsParameterService.selectGooGoodsParameterList(gooGoodsParameter);
        return getDataTable(list);
    }

    */
/**
     * 导出商品参数列表
     *//*

    @ApiOperation("导出商品参数列表")
    @PreAuthorize("@ss.hasPermi('parameter:parameter:export')")
    @Log(title = "商品参数", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, GooGoodsParameter gooGoodsParameter)
    {
        List<GooGoodsParameter> list = gooGoodsParameterService.selectGooGoodsParameterList(gooGoodsParameter);
        ExcelUtil<GooGoodsParameter> util = new ExcelUtil<GooGoodsParameter>(GooGoodsParameter.class);
        util.exportExcel(response, list, "商品参数数据");
    }

    */
/**
     * 获取商品参数详细信息
     *//*

    @ApiOperation("获取商品参数详细信息")
    @PreAuthorize("@ss.hasPermi('parameter:parameter:query')")
    @GetMapping(value = "/{goodsParameterId}")
    public ApiResult<GooGoodsParameter> getInfo(@PathVariable("goodsParameterId") Long goodsParameterId)
    {
        return ApiResult.success(gooGoodsParameterService.selectGooGoodsParameterByGoodsParameterId(goodsParameterId));
    }

    */
/**
     * 新增商品参数
     *//*

    @ApiOperation("新增商品参数")
    @PreAuthorize("@ss.hasPermi('parameter:parameter:add')")
    @Log(title = "商品参数", businessType = BusinessType.INSERT)
    @PostMapping
    public ApiResult add(@RequestBody GooGoodsParameter gooGoodsParameter)
    {
        return ApiResult.success(gooGoodsParameterService.insertGooGoodsParameter(gooGoodsParameter));
    }

    */
/**
     * 修改商品参数
     *//*

    @ApiOperation("修改商品参数")
    @PreAuthorize("@ss.hasPermi('parameter:parameter:edit')")
    @Log(title = "商品参数", businessType = BusinessType.UPDATE)
    @PutMapping
    public ApiResult edit(@RequestBody GooGoodsParameter gooGoodsParameter)
    {
        return ApiResult.success(gooGoodsParameterService.updateGooGoodsParameter(gooGoodsParameter));
    }

    */
/**
     * 删除商品参数
     *//*

    @ApiOperation("删除商品参数")
    @PreAuthorize("@ss.hasPermi('parameter:parameter:remove')")
    @Log(title = "商品参数", businessType = BusinessType.DELETE)
    @DeleteMapping("/{goodsParameterIds}")
    public ApiResult remove(@PathVariable Long[] goodsParameterIds)
    {
        return ApiResult.success(gooGoodsParameterService.deleteGooGoodsParameterByGoodsParameterIds(goodsParameterIds));
    }
}
*/
